﻿using InstaSharp.Infrastructure;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;

namespace InstaSharp.Models
{
    public class Tags2Response
    {
        /// <summary>
        /// Gets or sets the tag.
        /// </summary>
        /// <value>
        /// The counts.
        /// </value>
        [JsonMapping("tag", JsonMapping.MappingType.Class)]
        public TagClass Tag { get; set; }
    }

    public class TagClass
    {
        /// <summary>
        /// Gets or sets the images.
        /// </summary>
        /// <value>
        /// The counts.
        /// </value>
        [JsonMapping("media", JsonMapping.MappingType.Class)]
        public Medias Media { get; set; }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>
        /// The counts.
        /// </value>
        [JsonMapping("name", JsonMapping.MappingType.Primitive)]
        public string Name { get; set; }
    }
}
